import {reactive} from "vue";
import Mock from 'mockjs'

const bct1 = reactive({
    id: 'bct-jian-chi-1',
    categories: ['2016', '2017', '2018', '2019', '2020',],
    series: [
        {
            name: '净利润',
            data: [2.9, 3.5, 1.4, 3.2, 3,]
        },
    ]
})

const bct2 = reactive({
    id: 'bct-j2',
    categories: ['2016', '2017', '2018', '2019', '2020',],
    series: [
        {
            name: '净利润',
            data: [2.9, 3.5, 1.4, 3.2, 3,]
        },
    ]
})

const bct3 = reactive({
    id: 'bct-j3',
    categories: ['2016', '2017', '2018', '2019', '2020',],
    series: [
        {
            name: '净利润',
            data: [2.9, 3.5, 1.4, 3.2, 3,]
        },
    ]
})

const bct4 = reactive({
    id: 'bct-j4',
    categories: ['2016', '2017', '2018', '2019', '2020',],
    series: [
        {
            name: '净利润',
            data: [2.9, 3.5, 1.4, 3.2, 3,]
        },
    ]
})

const bct5 = reactive({
    id: 'bct-j5',
    categories: ['2016', '2017', '2018', '2019', '2020',],
    series: [
        {
            name: '净利润',
            data: [2.9, 3.5, 1.4, 3.2, 3,]
        },
    ]
})

const tableRte = reactive({
    titleList:[
        {title:"日期",type:"date",width:100},
        {title:"股东名称",type:"name",width:150},
        {title:"减持数量(万股)",type:"address",width:150},
        {title:"占流通比例",type:"pct",width:150},
        {title:"相关",type:"address",width:150},
    ],
    dataList:[
        {
            date:"5/1",
            name:"今日投资数...",
            address:"100",
            pct:"1.2%"
        },
        {
            date:"5/2",
            name:"今日投资数...",
            address:"122",
            pct:"1.2%"
        },
        {
            date:"5/3",
            name:"今日投资数...",
            address:"200",
            pct:"1.2%"
        },
    ]
})

const tableRte2 = reactive({
    titleList:[
        {title:"日期",type:"date",width:100},
        {title:"高管名称",type:"name",width:150},
        {title:"职务",type:"address",width:150},
        {title:"减持数量(万股)",type:"address",width:150},
        {title:"占流通比例",type:"address",width:150},
    ],
    dataList:[
        {
            date:"5/1",
            name:Mock.mock('@cname'),
            address:"2000"
        },
        {
            date:"5/2",
            name:Mock.mock('@cname'),
            address:"1000"
        },
        {
            date:"5/3",
            name:Mock.mock('@cname'),
            address:"200"
        },
    ]
})

export {
    bct1,
    bct2,
    bct3,
    bct4,
    bct5,
    tableRte,
    tableRte2
}